<%@page contentType="text/html;charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <title>学生信息管理系统登录</title>
        <meta http-equiv="content-type"
        content="text/html" charset="UTF-8"/>
    </head>
    <script type="text/javascript">
    	function resetValue(){
    		document.getElementById("userName").value="";
    		document.getElementById("password").value="";
    	}
    </script>
    <body>
    <div algin="center" style="padding-top:50px;">
    <form method="post" action="login">
    	<table align="center" width="740" height="500" background="images/login.jpg">
            <tr height="180">
                <td colspan="4"></td>
            </tr>
            <tr height="10">
                <td width="40%"></td>
                <td width="10%">用户名：</td>
                <td><input type="text" value="${userName }" name="userName" id="userName"></td>
                <td width="30%"></td>
            </tr>
            <tr height="10">
                <td width="40%"></td>
                <td width="10%">密&nbsp;&nbsp;&nbsp;码：</td>
                <td><input type="password" value="${password }" name="password" id="password"></td>
                <td width="30%"></td>
            </tr>
            <tr height="10">
                <td width="40%"></td>
                <td width="10%"><input type="submit" value="登录"></td>
                <td><input type="button" value="重置" onclick="resetValue();"></td>
                <td width="30%"></td>
            </tr>
            <tr height="10">
                <td width="40%"></td>
                <td colspan="3">
                    <font color="red">${error }</font>
                </td>
            </tr>
            <tr>
                <td></td>
            </tr>
        </table>
        </form>
        </div>
    </body>
</html>